Skip to content

Fix React Native debugger connection setup - #2782

Merged
6 commits merged into
microsoft:masterfrom
urbanst:fix/react-native-debugger-connection-fixes
Oct 12, 2026
Merged

6 commits merged into
microsoft:masterfrom
urbanst:fix/react-native-debugger-connection-fixes

Conversation

@urbanst

Copy link
Copy Markdown
Contributor

Fixes two debugger connection issues:

  • wait for the debug adapter server to bind before reading its port
  • set the expected Origin header when connecting to Metro/Inspector WebSocket
  • update the existing CDP proxy test for the new transport creation path

Validation:

  • npm run build passes
  • npm test passes for the affected CDP proxy test; one unrelated rn-extension commandsRegistered test fails locally because no React Native commands are registered in the VS Code test host

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@EmmaYuan1015

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@EmmaYuan1015

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@EmmaYuan1015

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@EmmaYuan1015

Copy link
Copy Markdown
Contributor

Urban Strnišnik (@urbanst) This PR has been approved. Please merge it soon. Thank you.

@EmmaYuan1015 EmmaYuan1015 closed this pull request by merging all changes into microsoft:master in 3c778dd Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

React Native Tools debugging fails with recent React Native 0.85 / 0.86 Android Hermes apps

3 participants